<include file="head"/>
                <div class="m-table-box">
<!--                    <div class="user-count clearfix">
                        <ul>
                            <li>会员总数<br>
                                <span class="win">-</span></li>
                            <li>本月新增会员<br>
                                <span class="lose">-</span></li>
                            <li>在线会员<br>
                                <span class="win">-</span></li>
                        </ul>
                    </div>-->
                    <div class="record-box">
                        <form action="{:U('Home/Agent/userlist')}" method="get" id="form">
                            <div class="record-filter clearfix"><span>查找会员账号</span>
                                <input type="text" id="next_name"name="name" class="form-input">
								
                                <div class="fl filer-button" onclick="search()"><a href="#">查找</a></div>
								
                            </div>
                        </form>
					
                    </div>
                    <div class="m-table">
                        <table border="0" cellpadding="0" cellspacing="0" class="tbl-main">
                            <thead>
                            <th>会员账号 </th>
                            <th>会员姓名</th>
                            <th>账户余额</th>
                            <th>注册日期</th>
                            <th>上次登录</th>
                            <th>帐户状态</th>
                           
                            </thead>
                            <tbody id="list">
							<if condition="$list neq ''">
							<foreach name="list" item="vo">
                                <tr>
                                    <td>{$vo.member_name}</td>
                                    <td>{$vo.true_name}</td>
                                    <td>{$vo.member_money}</td>
                                    <td><?php echo date('Y-m-d H:i:s',$vo['add_time'])?></td>
                                    <td><?php echo date('Y-m-d H:i:s',$vo['last_login_time'])?></td>
                                    <td><?php if($vo['status']==1){?>启用<?php }else{?>禁止登录<?php }?></td>
                                    
                                </tr>
                              </foreach>
							  <else />
                                <tr>
                                    <td colspan="7" style="text-align: center;">暂无数据</td>
                                </tr>
								</if>
                            </tbody>
                        </table>
                        <div class="page-box" id="page"> 
						{$page} </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="__HOME_CSS__/agent/js/jquery-1.js"></script>
        <script src="__HOME_CSS__/agent/js/layer.js"></script>
        <!-- <script src="js/main.js"></script>
        <script src="js/socket.io.js"></script>
        <script src="js/sendSms.js"></script>
        <script src="js/userlist.js"></script> -->
        <script>
            function goIndex(){
                window.location.href = "index.html";
            }

            function salfOut(){
                // $.post("/app/member/index/loginOut",{t:Math.random()},function(data){
                //     if(data.status<=0){
                //         layer.alert(data.info);
                //         return false;
                //     }else{
                //         window.location.href="/agent/login.html";
                //     }
                // },"json");
                window.location.href="login.html";
            }
        </script>
			<script>
						function search(){
						$("#form").submit();
						}
						</script>
    </body>
</html>